hr {color:sienna;}
p {margin-left:20px;}
body {
    background-image:url("");
}
ul{
    margin: 0;
    padding: 10px;
}
li{
    background-color: aliceblue;
}
ul:hover{
    background-color:rgb(41, 38, 38) ;
    color: white;
    font-weight: 500;
    transition: 5s ease;
}
.translate{
    width: 100px;
    height: 100px;
    background-color: red;
    position: relative;
}
.translate:hover{
    animation-name: example;
    animation-duration: 10s;
    animation-iteration-count: 3; 
}
@keyframes example{
    0%{
        background-color: red;
        left: 0px;
        top: 0px;
    }
    25%{
        background-color: rgb(218, 218, 74);
        left: 100px;
        top: 0px;
    }
    50%{
        background-color: blue;
        left: 100px;
        top: 100px;
    }
    75%{
        background-color: green;
        left: 0px;
        top: 100px;
    }
    100%{
        background-color: red;
        left: 0px;
        top: 0px;
    }
}
.static{
    position: static;
    border: 3px solid red;
}
.pos_fixed{
    position: fixed;
    top: 30px;
    right: 5px;
}
/* 相对位置会进行移动 */
.pos_left{
    position: relative;
    left: 20px;
}

.pos_right{
    position: relative;
    right: 20px;
}
img{
    position: absolute;
    left: 0px;
    top: 0px;
    z-index: -1;
}